package cn.myeasyai.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @author fushoujiang
 */
@Configuration
@ConfigurationProperties(prefix = "id")
public class IdWorkConfig {

    private Integer workerId;
    private Integer dateCenterId;

    public Integer getWorkerId() {
        return workerId;
    }

    public void setWorkerId(Integer workerId) {
        this.workerId = workerId;
    }

    public Integer getDateCenterId() {
        return dateCenterId;
    }

    public void setDateCenterId(Integer dateCenterId) {
        this.dateCenterId = dateCenterId;
    }
}
